home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / wtjmarch.zip / LIFE.ZIP / CLIFE.TXT < prev    next >
Text File  |  1992-01-27  |  2KB  |  68 lines

  1.                   The Game of Life
  2.                                 written in C++
  3.                                   CLife.TXT
  4.  
  5. Introduction
  6. ------------
  7. CLife is a Windows program written in C++ that illustrates
  8. the use of the ObjectWindows application framework. This program
  9. was originally written in Pascal by M. Zack Urlocker and was
  10. translated into C++ by Bruce Eckel.
  11.  
  12. The files include:
  13.  
  14.  CLife.EXE     - Executable program file
  15.  CLife.PAS     - Turbo C++ for Windows source code
  16.  CLife.RES     - Windows resource file
  17.  CLife.TXT     - This file
  18.  
  19. If you have received a ZIP file, you must unzip it first.
  20.  
  21. Using Life
  22. ----------
  23.  
  24. This program requires Microsoft Windows 3.0 or later.  To start the
  25. program start Windows and then use the File Run command to start
  26. CLife.EXE.  Or run life directly from the DOS C:> prompt by typing:
  27.  
  28.    WIN CLife
  29.  
  30. Like other versions of Life, this version allows you to draw cells
  31. on the screen and then mutate them according to certain rules.
  32. If an empty cell has exactly three neighbors it will be born. If an
  33. occupied cell fewer than two or more than three neighbors it will
  34. die.
  35.  
  36. The program features:
  37.  
  38.    - Mouse and keyboard support for drawing cells
  39.    - Zoomable, resizable screen
  40.    - Optional grid
  41.    - Selectable timer speed
  42.    - Trace mode
  43.    - Random and non-random starting patterns
  44.  
  45.  
  46. NOTES
  47. -----
  48.  
  49. Version 1.0  03/26/91 (Pascal)
  50. Version 1.0  04/04/91 (C++)
  51.  -Written in Turbo C++ for Windows
  52. Version 1.0  01/27/92 (C++)
  53.  -Corrected off by one bug in drawcells routine
  54.  
  55.  
  56. ObjectWindows Users
  57. -------------------
  58.  
  59. This program illustrates some of the basic ideas common to many Windows
  60. programs including mouse and keyboard handling, graphics, resizing,
  61. rescaling and the use of timers.  Feel free to experiment with the
  62. source code to learn how to implement similar features in your own
  63. programs.
  64.  
  65.  
  66.  
  67.                                     * * *
  68.